import React, { Component } from 'react';
import {
    Image,
    View,
    Text,
    Dimensions,
    StyleSheet,
    AppRegistry,
    Platform,
    WebView,
} from 'react-native';
import { Content } from 'native-base';
const { width, height } = Dimensions.get('window');
import URL from '../../net/url'
export default class aboutMooc extends Component {

    state = {
        url: URL.aboutMooc_URL,
        scalesPageToFit: true,
        automaticallyAdjustContentInsets: true,
        javaScriptEnabled: true,
        scrollEnabled: true,
        startInLoadingState: true,
    };

    render() {
        return (
            <Content>
                <WebView
                    ref='webview'
                    style={styles.WebView_style}
                    source={{ uri: this.state.url }}
                    scalesPageToFit={this.scalesPageToFit}
                    automaticallyAdjustContentInsets={this.automaticallyAdjustContentInsets}
                    javaScriptEnabled={this.javaScriptEnabled}
                    scrollEnabled={this.scrollEnabled}
                    startInLoadingState={this.startInLoadingState}
                />
              
            </Content>
        );
    }
}
const styles = StyleSheet.create({
    WebView_style: {
        height: height,
        width: width,
       
    }
});